home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2003 August / MW 8 2003 CD1.iso / Inside Macworld / Product News / gimp-1.2.4.sit / gimp-1.2.4 / plug-ins / imagemap / imap_about.c < prev    next >
Encoding:
C/C++ Source or Header  |  2002-07-20  |  1.5 KB  |  49 lines

  1. /*
  2.  * This is a plug-in for the GIMP.
  3.  *
  4.  * Generates clickable image maps.
  5.  *
  6.  * Copyright (C) 1998-1999 Maurits Rijk  lpeek.mrijk@consunet.nl
  7.  *
  8.  * This program is free software; you can redistribute it and/or modify
  9.  * it under the terms of the GNU General Public License as published by
  10.  * the Free Software Foundation; either version 2 of the License, or
  11.  * (at your option) any later version.
  12.  *
  13.  * This program is distributed in the hope that it will be useful,
  14.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.  * GNU General Public License for more details.
  17.  *
  18.  * You should have received a copy of the GNU General Public License
  19.  * along with this program; if not, write to the Free Software
  20.  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  21.  *
  22.  */
  23.  
  24. #include "config.h"
  25.  
  26. #include "imap_about.h"
  27. #include "imap_default_dialog.h"
  28.  
  29. #include "libgimp/stdplugins-intl.h"
  30.  
  31. void
  32. do_about_dialog(void)
  33. {
  34.    static DefaultDialog_t *dialog;
  35.    if (!dialog) {
  36.       dialog = make_default_dialog(_("About"));
  37.       default_dialog_hide_cancel_button(dialog);
  38.       default_dialog_hide_apply_button(dialog);
  39.       default_dialog_hide_help_button(dialog);
  40.       default_dialog_set_label(
  41.      dialog,
  42.      _("Imagemap plug-in 1.4\n\n"
  43.        "Copyright(c) 1999-2002 by Maurits Rijk\n"
  44.        "lpeek.mrijk@consunet.nl \n\n"
  45.        "  Released under the GNU General Public License  "));
  46.    }
  47.    default_dialog_show(dialog);
  48. }
  49.